<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8"/>
    <title>Thymeleaf 学习</title>
</head>
<body>

<h1>hello thymeleaf</h1>
<br/>


Welcome <span th:text="${name}"></span>

<h1 th:inline="text">Hello.v.2</h1>
<p th:text="${hello}"></p>

姓名：<span th:text="${user.name}"></span><br/>
年龄：<span th:text="${user.age}"></span>

</body>
</html>

